from urllib import request
# import urllib.request 或者这样写

url = 'http://127.0.0.1:8097/order/tp/resetEveryDay'
response = request.urlopen(url)

#print(response.read()) # 返回二进制形式的响应内容
print(response.read().decode('utf-8')) #  读取网页内容 将二进制内容按照utf-8格式解码 生成字符串格式
